package com.pic4493.entities;

import java.util.ArrayList;

import com.pic4493.base.BaseEntity;

public class EReview extends BaseEntity
{
   public String getAvatars()
   {
      return Avatars;
   }
   public void setAvatars(String avatars)
   {
      Avatars = avatars;
   }
   public String getReviewId()
   {
      return ReviewId;
   }
   public void setReviewId(String reviewId)
   {
	  ReviewId = reviewId;
   }
   public String getPicId()
   {
      return PicId;
   }
   public void setPicId(String picId)
   {
      PicId = picId;
   }
   public String getUserId()
   {
      return UserId;
   }
   public void setUserId(String userId)
   {
      UserId = userId;
   }
   public String getContent()
   {
      return Content;
   }
   public void setContent(String content)
   {
      Content = content;
   }
   public String getParentId()
   {
      return ParentId;
   }
   public void setParentId(String parentId)
   {
      ParentId = parentId;
   }
   public String getNickName()
   {
      return NickName;
   }
   public void setNickName(String nickName)
   {
      NickName = nickName;
   }
   public String getDateLine()
   {
      return DateLine;
   }
   public void setDateLine(String dateLine)
   {
      DateLine = dateLine;
   }
   public ArrayList<EReview> getSonList()
   {
      return SonList;
   }
   public void setSonList(ArrayList<EReview> sonList)
   {
      SonList = sonList;
   }
   
   public boolean hasParent()
   {
	  if(ParentId.equals("0"))
	  {
		 return false;
	  }
	  else 
	  {
		 return true;
	  }
   }
   
   //rid 评论ID
   private String ReviewId;
   //pid 图片ID
   private String PicId;  
   //Uid 用户ID
   private String UserId;
   
   private String Content;
   private String ParentId;
   private String NickName;
   private String DateLine;
   private String Avatars;
   private ArrayList<EReview> SonList;
   
   
   
}
